unit WbNode_TLB;

// ************************************************************************ //
// WARNING
// -------
// The types declared in this file were generated from data read from a
// Type Library. If this type library is explicitly or indirectly (via
// another type library referring to this type library) re-imported, or the
// 'Refresh' command of the Type Library Editor activated while editing the
// Type Library, the contents of this file will be regenerated and all
// manual modifications will be lost.
// ************************************************************************ //

// $Rev: 17244 $
// File generated on 6/4/2013 9:36:05 AM from Type Library described below.

// ************************************************************************  //
// Type Lib: D:\Users\user\Desktop\browser\SourceCode\WbNode\WbNode (1)
// LIBID: {20E0A143-A6E7-4035-BFEE-766D7110ED64}
// LCID: 0
// Helpfile:
// HelpString:
// DepndLst:
//   (1) v2.0 stdole, (D:\Windows\system32\stdole2.tlb)
// ************************************************************************ //
{$TYPEDADDRESS OFF} // Unit must be compiled without type-checked pointers.
{$WARN SYMBOL_PLATFORM OFF}
{$WRITEABLECONST ON}
{$VARPROPSETTER ON}
{$ALIGN 4}
interface

uses Windows, ActiveX, Classes, Graphics, OleServer, StdVCL, Variants;


// *********************************************************************//
// GUIDS declared in the TypeLibrary. Following prefixes are used:
//   Type Libraries     : LIBID_xxxx
//   CoClasses          : CLASS_xxxx
//   DISPInterfaces     : DIID_xxxx
//   Non-DISP interfaces: IID_xxxx
// *********************************************************************//
const
  // TypeLibrary Major and minor versions
  WbNodeMajorVersion = 1;
  WbNodeMinorVersion = 0;

  LIBID_WbNode: TGUID = '{20E0A143-A6E7-4035-BFEE-766D7110ED64}';

  IID_IWbNodeClass: TGUID = '{090684F0-24D7-4B16-B0BA-BBC09C90DACA}';
  CLASS_WbNodeClass: TGUID = '{7591F974-4248-4ABA-A1A9-CA71D65B7D8C}';
type

// *********************************************************************//
// Forward declaration of types defined in TypeLibrary
// *********************************************************************//
  IWbNodeClass = interface;
  IWbNodeClassDisp = dispinterface;

// *********************************************************************//
// Declaration of CoClasses defined in Type Library
// (NOTE: Here we map each CoClass to its Default Interface)
// *********************************************************************//
  WbNodeClass = IWbNodeClass;


// *********************************************************************//
// Interface: IWbNodeClass
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {090684F0-24D7-4B16-B0BA-BBC09C90DACA}
// *********************************************************************//
  IWbNodeClass = interface(IDispatch)
    ['{090684F0-24D7-4B16-B0BA-BBC09C90DACA}']
    function Get_dd: IDispatch; safecall;
    procedure Set_dd(const Value: IDispatch); safecall;
    property dd: IDispatch read Get_dd write Set_dd;
  end;

// *********************************************************************//
// DispIntf:  IWbNodeClassDisp
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {090684F0-24D7-4B16-B0BA-BBC09C90DACA}
// *********************************************************************//
  IWbNodeClassDisp = dispinterface
    ['{090684F0-24D7-4B16-B0BA-BBC09C90DACA}']
    property dd: IDispatch dispid 201;
  end;

// *********************************************************************//
// The Class CoWbNodeClass provides a Create and CreateRemote method to
// create instances of the default interface IWbNodeClass exposed by
// the CoClass WbNodeClass. The functions are intended to be used by
// clients wishing to automate the CoClass objects exposed by the
// server of this typelibrary.
// *********************************************************************//
  CoWbNodeClass = class
    class function Create: IWbNodeClass;
    class function CreateRemote(const MachineName: string): IWbNodeClass;
  end;

implementation

uses ComObj;

class function CoWbNodeClass.Create: IWbNodeClass;
begin
  Result := CreateComObject(CLASS_WbNodeClass) as IWbNodeClass;
end;

class function CoWbNodeClass.CreateRemote(const MachineName: string): IWbNodeClass;
begin
  Result := CreateRemoteComObject(MachineName, CLASS_WbNodeClass) as IWbNodeClass;
end;

end.

